﻿using System;
using System.Web.UI;

namespace SpiderMaster.AspNet.ValidationDemoApplication
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
        protected void SubmitFirstDemo_OnClick(object sender, EventArgs e)
        {
            if (Page.IsValid)// If the page is valid, send user to Done.htm
                Response.Redirect("Done.htm");
        }
        protected void SubmitSecondDemo_OnClick(object sender, EventArgs e)
        {
            if (Page.IsValid)// If the page is valid, send user to Done.htm
                Response.Redirect("Done.htm");
        }
        protected void SubmitThirdDemo_OnClick(object sender, EventArgs e)
        {
            if (Page.IsValid)// If the page is valid, send user to Done.htm
                Response.Redirect("Done.htm");
        }
        protected void SubmitFourthDemo_OnClick(object sender, EventArgs e)
        {
            if (Page.IsValid)// If the page is valid, send user to Done.htm
                Response.Redirect("Done.htm");
        }
    }
}